import { IDoom3Token,IDoom3Tokenizer,Doom3Factory,ETokenType } from "./src/doom3Tokenizer";

let str:string = ` //这是开单引号，不是单引号 
numMeshes  5
/*
* joints关键词定义了骨骼动画的bindPose
*/
joints {
	"origin"	-1  ( 0 0 0 )  ( -0.5  -0.5  -0.5 )		
	"Body"	0  ( -12.1038131714  0  79.004776001 )  ( -0.5 -0.5 -0.5 )	// origin
}
`;

let tokenizer : IDoom3Tokenizer = Doom3Factory.createDoom3Tokenizer();
// let token:IDoom3Token = tokenizer.createDoom3Token();
tokenizer.setSource(str)